<template>
    <div>
        <el-button type="primary" size="mini" @click="sendToApp">发送数据到App.vue</el-button>
    </div>
</template>
<script>
let me;
export default {
    data() {
        return {

        }
    },
    mounted() {
        me = this;
        me.$bus.on("sendToPage", value => {
            
        })
    },
    methods: {
        sendToApp() {
            me.$bus.emit("sendToApVue", {
                data: "111"
            });
        }
    }
}
</script>